import request from '@/utils/request'

//  *********企业新增*********
/**   接口名称目录              功能
     
**/
//list
export  const  listProperty = (search)=>
	request({
		url:'/op/assets/get_assets_list',
		method:'get',
		params:{
			pageNo:search.pageNo,
			pageSize:search.pageSize,
			type:search.type,
			keyWord:search.keyWord
		}
	})
export  const  submitProperty = (url,form)=>
	request({
		url,
		method:'post',
		data:JSON.stringify(form)
	})

export  const  detailProperty = (code)=>
	request({
		url:'/op/assets/get_assets',
		method:'get',
		params:{
			code
		}
	})
	
export  const  delproperty = (code)=>
	request({
		url:'/op/assets/delete_assets',
		method:'get',
		params:{
			code
		}
	})